package com.clouds.wms.service;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.clouds.wms.bean.Invma;
import com.clouds.wms.dao.InvmaDao;
import com.clouds.wms.exception.SysException;
import com.clouds.wms.util.PagesBean;

@Service("invmaService")
public class InvmaServiceImpl implements InvmaService {
	@Resource(name="invmaDao")
	private InvmaDao invmaDao;

	@Override
	public PagesBean getInvmaList(String maaa, String maab, String maac,String startMaad, String endMaad, int offset, int pageSize)	throws SysException {
		return invmaDao.getInvmaList(maaa, maab, maac, startMaad, endMaad, offset, pageSize);
	}

	@Override
	public Invma getInvma(String maaa,String maab) throws SysException {
		return invmaDao.getInvma(maaa,maab);
	}

	@Override
	public int saveInvma(Invma invma) throws SysException {
		return invmaDao.saveInvma(invma);
	}
	
}
